﻿@model LetLord.Models.Landlord

@{
    ViewBag.Title = @User.Identity.Name;
}
<div class="row-fluid profile">
    <div class="span2">
        <ul class="nav nav-tabs nav-stacked pull-left affix">
            <li class="active">
                <a href="#landlord-profile-tab" data-toggle="tab">Profile</a>
            </li>
            <li>
                <a href="#landlord-search-for-tenant-tab" data-toggle="tab">Tenant Search</a>
            </li>
        </ul>
    </div>
    <div class="span10">
        <div class="tab-content">
            <div class="tab-pane active" id="landlord-profile-tab">
                <div class="row-fluid">
                    <div class="span5 well-border" id="landlord-details">
                        @Html.Partial("~/Views/Landlords/_LandlordDetailsPartial.cshtml", Model)
                    </div>
                </div>
                <div class="row-fluid">
                    <a href="#" class="btn btn-primary" id="show-create-another-property-modal" role="button" data-toggle="modal" style="margin-bottom:3px;">Add another property</a>
                </div>
                <div class="row-fluid">
                    <div class="well-border" id="landlord-properties">
                        @Html.Partial("~/Views/Landlords/_LandlordPropertiesPartial.cshtml", Model)
                    </div>
                </div>
            </div>
            <div class="tab-pane" id="landlord-search-for-tenant-tab">
                <div class="row-fluid">
                    <div class="span4">
                        <div class="well-border">
                            @{Html.RenderAction("SearchForTenantsForm", "Search");}
                        </div>
                    </div>
                    <div class="span8">
                        <div class="well-border" id="search-for-tenants-results">
                            <h3 class="hero-unit">Use the search panel to the left to find the tenants you want. Select all or none of the options.
                                The more options you choose, the more refined results you will receive.
                            </h3>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

